// Learn TypeScript:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html

import navigateview from "./navigateview";

const {ccclass, property} = cc._decorator;

@ccclass
export default class cebian extends cc.Component {

    @property(cc.Node)
    label: cc.Node = null;

    protected start(): void {
        
    }

   dakai(){
       this.label.active = true;
       this.label.getComponent(navigateview).opencallback();
   }
}
